#include <iostream>
using namespace std;
int main()
{
    int a = 0;
    int b = (a++) + 1;
    a = 0;
    int c = (++a) + 1;
    cout<<b<<" "<<c;
}